package com.flitsneak.designpatterns.behavioralpatterns.strategy;

/**
 * @author flitsneak
 * @email flitsneak@gmail.com
 * @date 2022/7/18 10:12
 * @description
 */
public class Context {
    private Strategy strategy;

    public Strategy getStrategy() {
        return strategy;
    }

    public void setStrategy(Strategy strategy) {
        this.strategy = strategy;
    }

    public void makeDate() {
        strategy.dateStrategy();
    }
}
